<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title> BeautyClinic  </title>

 >
<?
@session_start();
?>


    <!-- Linking styles -->
	<link rel="stylesheet" href="css/screen.css" type="text/css" media="screen" title="default" />
 
 
</head>

  
 
<body> 


	<!--  START Header -->
	<div id="Header">
			<!-- Start: page-top --> 	
			<div id="page-top"> </div>
			<!-- End: page-top -->
		<div class="clear">&nbsp;</div>
	</div>
	<!-- End: Header -->
	

<!--  START nav-outer-repeat -->
<div class="nav-outer-repeat"> 

<!--  ............. START main .............  -->
<div id ="main">

<!--  start nav-outer -->
	<div class="nav-outer"> 

		<!-- start nav-right -->
		<div id="nav-right">	
				<? if(isset($_COOKIE["USER"]) == false){ ?>
					<div class="nav-divider-right">&nbsp;</div>

 					 <a href="./login.php"><img src="images/shared/login.png" alt="" /></a> 

					<div class="nav-divider-right">&nbsp;</div>

					 <a href="./signup.php"> <img src="images/shared/signup.png" alt="" /></a> 
		 
 					<div class="nav-divider-right">&nbsp;</div>
                <? } else{ ?>
					<div id="member-form">
						<div class="nav-divider-right">&nbsp;</div>

  						<a href="./logout.php"> <img src="images/shared/logout.png" alt="" /> </a> 
	
  						<div class="nav-divider-right">&nbsp;</div>
	
 						<div class="member-bar-form"><a>  ยินดีต้อนรับ คุณ  <u>  <?=$_COOKIE["USER"]?>    </u>  </a>  </div>
				  
						 <div class="nav-divider-right">&nbsp;</div>
					</div>
            <? } ?>

  
				<div class="clear">&nbsp;</div>		 
		</div> <!--  END nav-right -->


		<!--  start nav left-->
		<div class="nav">
		<div class="table">
				<div class="nav-divider">&nbsp;</div>
				
				<ul class="select"><li> <a href="./index.php"> <b> หน้าหลัก </b> </a> </li></ul>
				<div class="nav-divider">&nbsp;</div>
								
				<ul class="select"><li> <a href="./clinic.php"> <b> ศูนย์ศัลยกรรม </b> </a> </li></ul>
				<div class="nav-divider">&nbsp;</div>
			
				<ul class="select"><li><a href="./doctor.php"> <b> ศัลยแพทย์ </b> </a> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> </ul>
				<div class="nav-divider">&nbsp;</div>
			
				<ul class="select"><li><a href="#nogo"> <b> รีวิวการศัลยกรรม </b> </a> </li> </ul>
				<div class="nav-divider">&nbsp;</div>		
				
				<ul class="select"><li><a href="#nogo"> <b> ศัลย์วาไรตี้ </b> </a> </li> </ul>
				<div class="nav-divider">&nbsp;</div>
	 
				<div class="clear"></div>
		</div> <!--  END table -->

				<div class="clear"></div>	
		</div> <!--  END nav -->

			<div class="clear"></div>
	</div> <!--  END nav-outer -->
</div> 
</div>
<!--  END nav-outer-repeat -->





<div id="content-bg">
</div>


 



<!-- START CONTENT -outer ........................................................................................................................ START -->
<div id="content-outer">
							

  

<!-- start signup_bg -->
<div id="signup_bglogin">
 
 
<!-- start container -- จัดกลาง -->
<div class="signup_center_content">


 
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">

<tr>
	<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
</tr>

<tr>
	<td id="tbl-border-left"></td>
	<td>
		<!--  start content-table-inner -->
		<div id="content-table-inner">
			<table border="0"   cellpadding="0" cellspacing="0" id="signup_tab-form" >
 				<tr> <td>   <h1> ล็อกอินเข้าสู่ระบบ   BeautyClinic </h1>  </td> </tr>
				<tr> <td>   &nbsp;   </td>	</tr>
				<tr> <td>   &nbsp;   </td>	</tr>
				<tr> <td>   &nbsp;   </td>				  
						<!--  start signup_right  -->
						<td rowspan="6" valign="top" align="center">	 <br> <br> <br> <br>
							หากยังไม่ได้เป็นสมาชิกเว็บไซต์ BeautyClinic  <br> <br> มาร่วมเป็นส่วนหนึ่งในเว็บไซต์ <b><u>  สมัครฟรี !  </u></b>
			<div id = "signup_right"> <a href="./signup.php" class="awesome red large"><h2> สมัครสมาชิก ฟรี </h2></a> </div> 
						</td>
						<!--  end signup_right  -->
				</tr>
				<tr><td>   &nbsp;   </td></tr>
				<tr valign="top">
					<td>	

<? if(!isset($_COOKIE["USER"])){ ?>
	<form name="form1" method="post" action="check_login.php">  <!-- start signup-form -->
		<table border="0" cellpadding="0" cellspacing="0"  id="signup-form">
			<tr>
				<th valign="top">ล็อกอินเข้าสู่ระบบ (E-maill) : </th>
				<td valign="top"><input type="text" name="txtUsername" id="txtUsername" class="email" /></td>
			</tr>
			<tr><td></td></tr>
			<tr>
				<th valign="top">รหัสผ่าน (Password) :  </th>
				<td valign="top"><input type="password" name="txtPassword" id="txtPassword" class="email" /></td>
			</tr>
		</table> 		 
		<table border="0" cellpadding="0" cellspacing="0"  id="signup-form">
			<tr><td width=197px></td>  										 
				<td valign="top"  colspan=1>   
					<input type="submit" id="form-submit" class="awesome orange large"  value="เข้าสู่ระบบ" />
					<input type="submit" id="form-submit" class="awesome orange large"  value="ล้างข้อมูล" />
				</td>											
			</tr>
		</table> 		 
	</form><!-- end signup-form  -->
<? } ?>					
					</td> 
				</tr>
 			</table> 
		</div>  <!--  end content-table-inner  -->
	</td> 
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</table>
 
 
 </div>
 </div>

 
  
 
 </div>
<!-- END   ........................................................................................................................ END MAIN -->
 
</body>
</html>


 